// components/top-bar/top-bar.js
const app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    statusBarHeight: app.globalData.systemInfo.statusBarHeight,
    topBarHeight: app.globalData.systemInfo.statusBarHeight + wx.getMenuButtonBoundingClientRect().height + (wx.getMenuButtonBoundingClientRect().top - app.globalData.systemInfo.statusBarHeight) * 2
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})